import axios from 'axios';

/**
 * 获取业务对账列表
 */
function getBusinessCheck(data) {
  return axios.get('v1/order/list?', {params: data})
}

function saveOrder(data) {
  return axios.post('v1/order/save?', data)
}

function queryOrderDetail(data) {
  return axios.get('v1/order/detail?', {params: data})
}

function queryApplyList(data) {
  return axios.get('v1/apply/list?', {params: data})
}

function queryAccountList(data) {
  return axios.get('v1/account/list?', {params: data})
}

function queryProviderList(data) {
  return axios.get('v1/provider/list?', {params: data})
}

export default {
  getBusinessCheck,
  saveOrder,
  queryOrderDetail,
  queryApplyList,
  queryAccountList,
  queryProviderList
};
